#include<iostream>
#include<string>
using namespace std;

class MyClass {
    private:
        string member;
    public:
        MyClass(int i = 0) {member = i;}
        void SetMember(string& m) {
            member = "big" + m;
            m = member;
        }

        string GetMember() {
            return member;
        }

        void print() const {
            cout << "Stu:" << member << endl;
        }
};

int main() {
    MyClass obj1('c'),*obj2;
    cout << "sizeof(string) = " << sizeof(string) << endl;
    cout << "sizeof(int) = " << sizeof(int) << endl;
    cout << "sizeof(int*) = " << sizeof(int*) << endl;
    string i = "wang lin";
    obj2 = &obj1;
    obj2 -> SetMember(i);
    obj1.print();
    cout << "string i = " << i << endl;
}
